package com.imc.platform.base.order.dao;

import com.imc.api.order.pojo.LessonSchedule;
import com.imc.platform.base.order.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 类描述：订单mapper类
 * 开发者：QY
 * 创建时间：2018/9/12 23:51
 **/
@Mapper
public interface IPlatOrderMapper {

    /*
     * YT  2018/10/12 23:00
     * 方法描述：分页查询订单信息
     */
    List <Order> queryOrderByMap(@Param("parms") Map <String, String> orderMap);

    List <LessonSchedule> queryLessonSchedule(@Param("parms") Map <String, String> lessonScheduleMap);

    /*
     * YT  2018/10/12 23:00
     * 方法描述：根据订单ID，订单明细ID查询订单信息
     */
    Order queryOrderOrDetailById(@Param("orderId") String orderId, @Param("detailId") String detailId);

}
